<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Dive Into HTML5</title>
  <script src="modernizr-2.0.6.js"></script>
  
  <script type="text/javascript">
	function init() {
		if (Modernizr.geolocation) {
			alert("Google Maps geolocation supported");
		  // let's find out where you are!
		} else {
			alert("Google Maps geolocation not supported");
		  // no native geolocation support available :(
		  // maybe try Gears or another third-party solution
		}
	}
  </script>
  
</head>
<body onload="init()">
<ul>
<li><a href="http://www.google.com/xhtml?site=local&hl=en&daddr=%20&near=%20">Location using Google Maps wap</a></li>
<li><a href="http://wap.mapquest.com">Location using MapQuest</a></li>
</ul>
</body>
</html>